package com.qhs.sys.exception;

/**
 *
 * json异常
 */
public class JsonException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private Exception e;
    public JsonException(Exception e) {
        this.e = e;
    }

    public String getMessage() {
        return this.e.getMessage();
    }

    public synchronized Throwable getCause() {
        return this.e.getCause();
    }

    public String toString() {
        return super.toString();
    }

    public StackTraceElement[] getStackTrace() {
        return super.getStackTrace();
    }
}
